<template>
  <div >
    <!-- 返回 -->
    <i class="back iconfont icon-back" @click="toBack()"></i>
  </div>
</template>

<script>
export default {
  methods: {
    toBack() {
      this.$router.go(-1);
      // this.$router.go(0)//刷新
    }
  }
};
</script>

<style scoped>
.back{
  font-size: 0.24rem;
  color: #000;
  /* background-color: orange; */
  position: fixed;
  left:0.2rem;
  top:0.2rem;
  z-index: 2!important;
}
.icon-back{
  color: rgb(129, 128, 128);
   font-size: 0.5rem;

}
</style>